Feature: Social Network
  This function group provides social capabilities.
  Among these, it allows sending and receiving messages,
  consulting the user board and friend board and send or accept friendship requests.

  Background:
    Given i am logged in

  Scenario: View User's Friends
    When i click the "View Friends" link
    Then i should view my friends list

  Scenario: Send Friendship Request To A User
    Given i am not friend with foo
    When i click the "Request Friendship" button for foo
    Then foo should have a friendship request from me
    And the system should notify foo of new friendship requests

  Scenario: Accept Friendship Request
    Given i have a friendship request from foo
    When i click on the "Accept foo's friendship" button
    Then i should be friend with foo
    And foo should be friend with me
    And the system should send foo a notification alert "Friendship request accepted"